package com.lzl.remote;

import com.lzl.request.ForecastPriceDTO;
import com.lzl.responese.ForecastPriceResponese;
import com.lzl.responese.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * //TODO
 *
 * @author zhaolinlin
 * @description //TODO
 * @createTime 2022/8/17 23:05
 */
@FeignClient("service-price")
public interface ServicePriceClient {

     @RequestMapping(method = RequestMethod.POST,value = "/forecast-price")
    ResponseResult<ForecastPriceResponese> forecast(@RequestBody ForecastPriceDTO forecastPriceDTO);



}
